# encoding: utf-8
from flask_marshmallow import base_fields
from app.modules.common.parameters import BaseParameters


class ZoneAddParameters(BaseParameters):
    zone_code = base_fields.String(
        description = "区域code",
        required = True
    )
    zone_alias = base_fields.String(
        description = "区域代名",
        required = True
    )
    parent_code = base_fields.String(
        description = "父级区域code",
        required = False,
        missing = None
    )
    zone_title = base_fields.String(
        description = "区域名",
        required = True
    )
    order_no = base_fields.String(
        description = "序号",
        required = True
    )
